<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="./css/style.css" />
    <script src="./js/index.js"></script>
    <link rel="stylesheet" href="./css/bootstrap.min.css" />
  </head>

  <body>
    <div class="container">
      <h1>欢迎语</h1>
      <div class="row">
        <div class="col-5">
          <form action="javascript:void(0);" autocomplete="off">
            <div class="form-group">
              <lable for="subject">姓名：</lable>
              <input
                type="text"
                id="name"
                class="form-control"
                placeholder="输入姓名"
                required
              />
            </div>
            <div class="form-group">
              <lable for="event1">住址：</lable>
              <input
                type="text"
                id="address"
                class="form-control"
                placeholder="输入住址"
                required
              />
            </div>
            <div class="form-group">
              <lable for="event2">个人介绍：</lable>
              <input
                type="text"
                id="info"
                class="form-control"
                placeholder="输入个人介绍"
                required
              />
            </div>
            <div class="form-group">
              <input
                type="submit"
                value="生成"
                class="btn btn-primary"
                onclick="generate()"
              />
            </div>
          </form>
        </div>
        <div class="col-7" style="margin-top: 35px">
          <textarea
            id="result"
            rows="8"
            placeholder="模板：欢迎来自山西大同的新新小朋友，他的介绍为：WEB架构师"
          ></textarea>
        </div>
      </div>
    </div>
  </body>
</html>
